<?php

namespace HikCloud\RestApi\Estate\EntranceGuard\MQ;

use HikCloud\RestApi\HikRestOutApi;


/**
 * 名称	    类型	长度	是否必填	描述
 * groupNo	String	32	      是	组编号
 * pageNo	Integer	/	      是	分页当前页数，取值>=1
 * pageSize	Integer	/	      是	分页每页记录数，取值1-999
 */
class MqMessages extends HikRestOutApi
{
    protected $api = '/api/v1/mq/consumer/messages';

    public $method = 'POST';
    public $header=[
        'Content-Type'=>'application/x-www-form-urlencoded'
    ];

    protected $required_params = [
        'consumerId'=>'',
        'autoCommit'=>'true'
    ];

    protected $optional_params = [];

    public function __construct()
    {
        parent::__construct();
    }

}